package com.tjtt.tdm.form.service;

import java.util.List;
import java.util.Map;

import org.apache.poi.xssf.usermodel.XSSFSheet;

import com.tjtt.tdm.base.PageResult;
import com.tjtt.tdm.flow.bean.Flowtype;
import com.tjtt.tdm.system.bean.LogInfo;
import com.tjtt.tdm.system.service.LogService;

public interface IAutoService {

	/**
	 * 查询列表信息
	 * author:lishu	 2013-10-25
	 */
	public PageResult queryAutoFormData(Map filterMap);
	public PageResult queryAutoFormData(Map filterMap,Map filterMapChild);
	public PageResult queryAutoFormDataQuery(Map filterMap);
	
	public PageResult queryAutoAnalysisFormData(Map filterMap);
	/**
	 * 查询列表信息
	 * author:lishu	 2013-10-25
	 */
	public PageResult queryAutoPageFormData(Map filterMap);
	/**
	 * 查询选择列表信息
	 * author:lishu	 2013-10-25
	 */
	public PageResult queryChooseFormData(Map filterMap); 
	/**
	 * 执行sql语句
	 * author:lishu	 2013-10-28  
	 */
	public String executeSql(String sql);
	
	public void executeSqlmore(List<String> lists);
	/**
	 * 根据sql语句查询字段
	 * author:lishu	 2013-10-28
	 */ 
	public List getDatabySql(String sql);
	
//    public String saveDataManage(ZkhDataManage data);
//	
//	public ZkhDataManage queryData(String id);
//	
//	public void updateDataManage(ZkhDataManage data);
	
//	public void deleteDataManage(String ids);
	public Flowtype findFlowType(String flowid);
	public List findProject(String flowid, String taskId);
	public String executeId(String sqlInsert);
	public String saveObject(Object obj);
	
	//public void importGuanduan(XSSFSheet  hssfSheet);
	public String importGuanduan(XSSFSheet  hssfSheet,LogInfo loginfo);
}
